package com.sinosoft.ptas.control.dto;

import java.io.Serializable;
import java.util.Date;

import com.sinosoft.framework.core.common.utils.ajax.ObjectUtil;
import com.sinosoft.ptas.entity.AuditEntity;

/**
 * 审核表传输类
 * @author lianWuJun
 * @time   2017年2月18日 下午7:43:09
 */
public class AuditData implements Serializable{
	
	private static final long serialVersionUID = 1L;
	private String id;//标识符
	private String reportId;//所属申报表
	private String specificationIntegrity;//规范完整性
	private String clearClarity;//明确清晰性
	private String targetCorrelation;//目标相关性
	private String indicatorsOfScientific;//指标科学性
	private String performanceLegitimacy;//绩效合理性
	private String fundsFit;//资金匹配性
	private String implementationPossibility;//实现可能性
	private String conditionsOfAdequacy;//条件充分性
	private String comprehensiveRating;//综合评定等级
	private String overallComments;//总体意见
	private String stateOFAuditTable;//审核表状态（保存：0，提交：1）
	private Date dateOfAudit;//审核日期（填写）
	private String creater;//创建人
	private Date createTime;//创建时间
	private String updator;//更新人
	private Date updateTime;//更新时间
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getReportId() {
		return reportId;
	}

	public void setReportId(String reportId) {
		this.reportId = reportId;
	}

	public String getSpecificationIntegrity() {
		return specificationIntegrity;
	}

	public void setSpecificationIntegrity(String specificationIntegrity) {
		this.specificationIntegrity = specificationIntegrity;
	}

	public String getClearClarity() {
		return clearClarity;
	}

	public void setClearClarity(String clearClarity) {
		this.clearClarity = clearClarity;
	}

	public String getTargetCorrelation() {
		return targetCorrelation;
	}

	public void setTargetCorrelation(String targetCorrelation) {
		this.targetCorrelation = targetCorrelation;
	}

	public String getIndicatorsOfScientific() {
		return indicatorsOfScientific;
	}

	public void setIndicatorsOfScientific(String indicatorsOfScientific) {
		this.indicatorsOfScientific = indicatorsOfScientific;
	}

	public String getPerformanceLegitimacy() {
		return performanceLegitimacy;
	}

	public void setPerformanceLegitimacy(String performanceLegitimacy) {
		this.performanceLegitimacy = performanceLegitimacy;
	}

	public String getFundsFit() {
		return fundsFit;
	}

	public void setFundsFit(String fundsFit) {
		this.fundsFit = fundsFit;
	}

	public String getImplementationPossibility() {
		return implementationPossibility;
	}

	public void setImplementationPossibility(String implementationPossibility) {
		this.implementationPossibility = implementationPossibility;
	}

	public String getConditionsOfAdequacy() {
		return conditionsOfAdequacy;
	}

	public void setConditionsOfAdequacy(String conditionsOfAdequacy) {
		this.conditionsOfAdequacy = conditionsOfAdequacy;
	}

	public String getComprehensiveRating() {
		return comprehensiveRating;
	}

	public void setComprehensiveRating(String comprehensiveRating) {
		this.comprehensiveRating = comprehensiveRating;
	}

	public String getOverallComments() {
		return overallComments;
	}

	public void setOverallComments(String overallComments) {
		this.overallComments = overallComments;
	}

	public String getStateOFAuditTable() {
		return stateOFAuditTable;
	}

	public void setStateOFAuditTable(String stateOFAuditTable) {
		this.stateOFAuditTable = stateOFAuditTable;
	}

	public Date getDateOfAudit() {
		return dateOfAudit;
	}

	public void setDateOfAudit(Date dateOfAudit) {
		this.dateOfAudit = dateOfAudit;
	}

	public String getCreater() {
		return creater;
	}

	public void setCreater(String creater) {
		this.creater = creater;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getUpdator() {
		return updator;
	}

	public void setUpdator(String updator) {
		this.updator = updator;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	/**
	 * 传输类转化成实体类
	 */
	public AuditEntity toEntity(){
		AuditEntity auditEntity = new AuditEntity();
		ObjectUtil.oldToNew(auditEntity, this, "serialVersionUID");
		return auditEntity;
	}
	
	/**
	 * 实体类转化成传输类
	 */
	public void toauditData(AuditEntity auditEntity){
		ObjectUtil.oldToNew(this, auditEntity, "serialVersionUID");
	}
	
}
